package com.sunyur.tailor.channel.service.inner.inventory.param;

import lombok.Data;

import java.util.List;

/**
 * @ClassName SunyurInventoryReleaseParam
 * @Description 物料库存台账批量加(减)库存请求参数
 * @Author xuhui
 * @Date 2021/6/21 22:46
 * @Version 1.0
 */
@Data
public class InventoryReleaseOrReduceParam {
    /**
     * 请求key,保证唯一性(用来做接口幂等)
     */
    private String requestKey;
    /**
     * 操作人编码
     */
    private String operatorCode;
    /**
     * 库存流水，最大为100条
     */
    private List<RecordParamList> recordParamList;

    public InventoryReleaseOrReduceParam(String requestKey, String operatorCode) {
        this.requestKey = requestKey;
        this.operatorCode = operatorCode;
    }

    public InventoryReleaseOrReduceParam() {
    }
}
